package test;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;

/**
 * 员工管理
 * date：2012-9-1 21:31:00
 * 
 * @author Administrator
 *
 */
public class EmpController extends AbstractController {

	@Override
	protected ModelAndView handleRequestInternal(HttpServletRequest arg0,
			HttpServletResponse arg1) throws Exception {
		String name = arg0.getParameter("name");
		String phone = arg0.getParameter("phone");
		Emp emp = new Emp();
		emp.setName(name);
		emp.setPhone(phone);
		
		return null;
	}

	
}
